package com.yihubang.navigationcourse

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_areement.*

/*
 * class title: 
 * Author by RenChunLin, Email 18957806320@163.com, Date on 2021/4/25.
 * PS: Not easy to write code, please indicate.
 */
class AgreementActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_areement)
        //设置背景透明
        window.setBackgroundDrawableResource(R.color.transparent)
        val userName = intent.getStringExtra("userName")
        agrUserName.setText(userName)
    }
}